/**
 * Main File for the Workload Generator
 */
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <sys/time.h>
#include "cJSON.h"
#include "cpu.h"

int main(void) {
  setup_random_environment();
  cJSON *json = parse_config();
  pthread_t threads[5];
  workload_generator(json, "cpu", setup_cpu, &threads[0]);
  pthread_join(threads[0], NULL);
}
